<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">


    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Floor')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-floor" class="form-control" name="row[floor]" type="number" value="{$row.floor|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Room_type')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-room_type" data-rule="required" data-source="pms/pmsroomtype/selectpage" class="form-control selectpage" name="row[room_type]" type="text" data-params='{"custom[state]":1}' value="{$row.room_type|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Room_no')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-room_no" class="form-control" name="row[room_no]" type="text" value="{$row.room_no|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Inside_phone')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-inside_phone" class="form-control" name="row[inside_phone]" type="text" value="{$row.inside_phone|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Outside_phone')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-outside_phone" class="form-control" name="row[outside_phone]" type="text" value="{$row.outside_phone|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Remarks')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-remarks" class="form-control" name="row[remarks]">{$row.remarks|htmlentities}</textarea>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('State')}:</label>
        <div class="col-xs-12 col-sm-8">
          <select  id="c-state" class="form-control" name="row[state]">
            <option value="0" {in name="0" value="$row.state"}selected{/in}>
          未审核
            </option>
            <option value="1" {in name="1" value="$row.state"}selected{/in}>
          已审核
            </option>
            <option value="-1" {in name="-1" value="$row.state"}selected{/in}>
          已删除
            </option>
          </select>
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
